﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="QuantityAddTrainingClass.aspx.cs" Inherits="TrainClassManagement_QuantityAddTrainingClass" %>
<%@ Register Assembly="AjaxControlToolkit"  Namespace="AjaxControlToolkit"    TagPrefix="ajaxToolkit" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>批量录入培训班</title>
    <link href="../Css/ys.css" rel="stylesheet" type="text/css" />
    <script language="javascript" src="../My97DatePicker/WdatePicker.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
       <div style="margin-left:5px">
     <div class="title" >批量录培训班</div>
      <table class="tab_alt" cellpadding="0" cellspacing="0" width="95%">
    <tr class="header">
    <td class="noWrapTD" style="width:35px">序号</td>
    <td class="noWrapTD" >隶属学校</td>
    <td class="noWrapTD">培训班编号</td>
    <td class="noWrapTD">培训班名称</td>
    <td class="noWrapTD">培训班人数</td>
    <td class="noWrapTD">上课开始日期</td>
    <td class="noWrapTD">上课截止日期</td>
    <td class="noWrapTD" >培训班描述</td>
    <td class="noWrapTD">操作</td>
    </tr>
    <tr id="tr1">
    <td>1</td>
    <td>
    <asp:TextBox ID="txtSchool1" runat="server" CssClass="inp3"></asp:TextBox>
        <asp:HiddenField ID="HidSchool1" runat="server" />
        </td>
        <td><asp:TextBox ID="txtTrainClassNum1" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtTrainClass1" runat="server" CssClass="inp3"></asp:TextBox>
    <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass1" runat="server" BehaviorID="AceTrainingClass1"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"     TargetControlID="txtTrainClass1"   CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem" >  </ajaxtoolkit:AutoCompleteExtender>
    </td>
    <td><asp:TextBox ID="txtMaxCount1" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtStarDate1" runat="server" CssClass="inp3  Wdate" 
                            onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox ID="txtEndDate1" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox style="width:250px" ID="txtDesc1"  runat="server" CssClass="inp3"></asp:TextBox></td>
    <td>
        <asp:Label ID="lblMsg1" runat="server" ForeColor="Red"></asp:Label></td>
    </tr>
    <tr id="tr2">
    <td>2</td>
    <td><asp:TextBox ID="txtSchool2" runat="server" CssClass="inp3" ></asp:TextBox>
        <asp:HiddenField ID="HidSchool2" runat="server" />
        </td>
        <td><asp:TextBox ID="txtTrainClassNum2" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtTrainClass2" runat="server" CssClass="inp3"></asp:TextBox>
      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass2" runat="server" BehaviorID="AceTrainingClass2"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"     TargetControlID="txtTrainClass2"   CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem" >  </ajaxtoolkit:AutoCompleteExtender>
    </td>
    <td><asp:TextBox ID="txtMaxCount2" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtStarDate2" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox ID="txtEndDate2" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox  style="width:250px" ID="txtDesc2" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td>
        <asp:Label ID="lblMsg2" runat="server" ForeColor="Red"></asp:Label></td>
    </tr>
    <tr id="tr3">
    <td>3</td>
    <td><asp:TextBox ID="txtSchool3" runat="server" CssClass="inp3"></asp:TextBox>
        <asp:HiddenField ID="HiddenField3" runat="server" />
        </td>
        <td><asp:TextBox ID="txtTrainClassNum3" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtTrainClass3" runat="server" CssClass="inp3"></asp:TextBox>
      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass3" runat="server" BehaviorID="AceTrainingClass3"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"     TargetControlID="txtTrainClass3"   CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem" >  </ajaxtoolkit:AutoCompleteExtender>
    </td>
    <td><asp:TextBox ID="txtMaxCount3" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtStarDate3" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox ID="txtEndDate3" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox  style="width:250px" ID="txtDesc3" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td>
        <asp:Label ID="lblMsg3" runat="server" ForeColor="Red"></asp:Label></td>
    </tr>
    <tr id="tr4">
    <td>4</td>
    <td><asp:TextBox ID="txtSchool4" runat="server" CssClass="inp3"></asp:TextBox>
        <asp:HiddenField ID="HidSchool4" runat="server" />
        </td>
        <td><asp:TextBox ID="txtTrainClassNum4" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtTrainClass4" runat="server" CssClass="inp3"></asp:TextBox>
      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass4" runat="server" BehaviorID="AceTrainingClass4"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"     TargetControlID="txtTrainClass4"   CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem" >  </ajaxtoolkit:AutoCompleteExtender>
    </td>
    <td><asp:TextBox ID="txtMaxCount4" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtStarDate4" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox ID="txtEndDate4" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox  style="width:250px" ID="txtDesc4" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td>
        <asp:Label ID="lblMsg4" runat="server" ForeColor="Red"></asp:Label></td>
    </tr>
    <tr id="tr5">
    <td>5</td>
    <td><asp:TextBox ID="txtSchool5" runat="server" CssClass="inp3"></asp:TextBox>
        <asp:HiddenField ID="HidSchool5" runat="server" />
        </td>
        <td><asp:TextBox ID="txtTrainClassNum5" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtTrainClass5" runat="server" CssClass="inp3"></asp:TextBox>
      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass5" runat="server" BehaviorID="AceTrainingClass5"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"     TargetControlID="txtTrainClass5"   CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem" >  </ajaxtoolkit:AutoCompleteExtender>
    </td>
    <td><asp:TextBox ID="txtMaxCount5" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtStarDate5" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox ID="txtEndDate5" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox  style="width:250px" ID="txtDesc5" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td>
        <asp:Label ID="lblMsg5" runat="server" ForeColor="Red"></asp:Label></td>
    </tr>
    <tr id="tr6">
    <td>6</td>
    <td><asp:TextBox ID="txtSchool6" runat="server" CssClass="inp3"></asp:TextBox>
        <asp:HiddenField ID="HidSchool6" runat="server" />
        </td>
        <td><asp:TextBox ID="txtTrainClassNum6" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtTrainClass6" runat="server" CssClass="inp3"></asp:TextBox>
      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass6" runat="server" BehaviorID="AceTrainingClass6"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"     TargetControlID="txtTrainClass6"   CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem" >  </ajaxtoolkit:AutoCompleteExtender>
    </td>
    <td><asp:TextBox ID="txtMaxCount6" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtStarDate6" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox ID="txtEndDate6" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox  style="width:250px" ID="txtDesc6" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td>
        <asp:Label ID="lblMsg6" runat="server" ForeColor="Red"></asp:Label></td>
    </tr>
    <tr id="tr7">
    <td>7</td>
    <td><asp:TextBox ID="txtSchool7" runat="server" CssClass="inp3"></asp:TextBox>
        <asp:HiddenField ID="HidSchool7" runat="server" />
        </td>
        <td><asp:TextBox ID="txtTrainClassNum7" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtTrainClass7" runat="server" CssClass="inp3"></asp:TextBox>
      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass7" runat="server" BehaviorID="AceTrainingClass7"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"     TargetControlID="txtTrainClass7"   CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem" >  </ajaxtoolkit:AutoCompleteExtender>
    </td>
    <td><asp:TextBox ID="txtMaxCount7" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtStarDate7" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox ID="txtEndDate7" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox  style="width:250px" ID="txtDesc7" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td>
        <asp:Label ID="lblMsg7" runat="server" ForeColor="Red"></asp:Label></td>
    </tr>
    <tr id="tr8">
    <td>8</td>
    <td><asp:TextBox ID="txtSchool8" runat="server" CssClass="inp3"></asp:TextBox>
        <asp:HiddenField ID="HidSchool8" runat="server" />
        </td>
        <td><asp:TextBox ID="txtTrainClassNum8" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtTrainClass8" runat="server" CssClass="inp3"></asp:TextBox>
      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass8" runat="server" BehaviorID="AceTrainingClass8"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"     TargetControlID="txtTrainClass8"   CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem" >  </ajaxtoolkit:AutoCompleteExtender>
    </td>
    <td><asp:TextBox ID="txtMaxCount8" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtStarDate8" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox ID="txtEndDate8" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox  style="width:250px" ID="txtDesc8" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td>
        <asp:Label ID="lblMsg8" runat="server" ForeColor="Red"></asp:Label></td>
    </tr>
    <tr id="tr9">
    <td>9</td>
    <td><asp:TextBox ID="txtSchool9" runat="server" CssClass="inp3"></asp:TextBox>
        <asp:HiddenField ID="HidSchool9" runat="server" />
        </td>
        <td><asp:TextBox ID="txtTrainClassNum9" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtTrainClass9" runat="server" CssClass="inp3"></asp:TextBox>
      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass9" runat="server" BehaviorID="AceTrainingClass9"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"     TargetControlID="txtTrainClass9"   CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem" >  </ajaxtoolkit:AutoCompleteExtender>
    </td>
    <td><asp:TextBox ID="txtMaxCount9" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtStarDate9" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox ID="txtEndDate9" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox  style="width:250px" ID="txtDesc9" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td>
        <asp:Label ID="lblMsg9" runat="server" ForeColor="Red"></asp:Label></td>
    </tr>
    <tr id="tr10">
    <td>10</td>
    <td><asp:TextBox ID="txtSchool10" runat="server" CssClass="inp3"></asp:TextBox>
        <asp:HiddenField ID="HidSchool10" runat="server" />
        </td>
        <td><asp:TextBox ID="txtTrainClassNum10" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtTrainClass10" runat="server" CssClass="inp3"></asp:TextBox>
      <ajaxtoolkit:AutoCompleteExtender ID="AceTrainingClass10" runat="server" BehaviorID="AceTrainingClass10"   CompletionInterval="1000" EnableCaching="true"       UseContextKey="true" MinimumPrefixLength="0" ServiceMethod="GetTrainingClass"     TargetControlID="txtTrainClass10"   CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem" >  </ajaxtoolkit:AutoCompleteExtender>
    </td>
    <td><asp:TextBox ID="txtMaxCount10" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td><asp:TextBox ID="txtStarDate10" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox ID="txtEndDate10" runat="server" CssClass="inp3 Wdate" onfocus="new WdatePicker({dateFmt:('yyyy-MM-dd')})"></asp:TextBox></td>
    <td><asp:TextBox  style="width:250px" ID="txtDesc10" runat="server" CssClass="inp3"></asp:TextBox></td>
    <td>
        <asp:Label ID="lblMsg10" runat="server" ForeColor="Red"></asp:Label></td>
    </tr>
    </table>
      <asp:Button ID="btnAdd" runat="server" Text=" 确认添加"   onclick="btnAdd_Click"  CssClass="button"/>&nbsp;&nbsp;
           <asp:Button ID="btnRedirectList" runat="server" Text=" 返回培训班列表"      Width="100px"  CssClass="button" onclick="btnRedirectList_Click"/>
    </div>
    </form>
</body>
</html>
